package java51_19;

import java.util.*;

public class FanxingTest {

	public static void main(String[] args) {
		List<String> list = new ArrayList<String>();
		list.add("李双");
		list.add("yanzhiwei");
		String str = list.get(1);
		System.out.println(str);
		Map<String, Student> map = new HashMap<String, Student>();
		map.put("1001", new Student("王莽", "1341", 43, Sex.男));
		map.put("1002", new Student("曹操", "13143445", 23, Sex.男));
		map.put("1003", new Student("董卓", "1399999", 45, Sex.男));
		Student s1 = map.get("1002");
		System.out.println(s1);
		System.out.println(">>>>>>>>>>>>>>>>>.");
		Set<String> keys = map.keySet();

		// Collections.max(coll)

	}

}
